package com.j283_5.wisdom_park.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.j283_5.wisdom_park.common.result.ResultData;
import com.j283_5.wisdom_park.pojo.Visitors;
import com.j283_5.wisdom_park.vo.visitor_management.AddVisitorsVo;

import java.util.ArrayList;

/**
 * <p>
 * 访客表 服务类
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public interface VisitorsService extends IService<Visitors> {
    //查询所有访客
    ResultData visitorsList(Page<Visitors> page,Visitors visitors);
    //查询访客详细信息
    ResultData findOneVisitors(Integer visId);
    //添加访客
    ResultData addVisitors(AddVisitorsVo addVisitorsVo);
    //删除访客
    ResultData deleteVisitors(ArrayList<Integer> visIdList);
}
